package oa.hleast.xswl.pojo.form.questionnaire;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import oa.hleast.xswl.common.config.NotBlank;

/**
 * @author: 302
 * @date: 2021-07-21 11:12:16
 * @description: 用户问卷答案表(QmsUserAnswer)form实体类
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("用户问卷答案表Form实体类")
public class QmsUserAnswerForm {
    @ApiModelProperty("")
    private Long id;

    @ApiModelProperty("用户问卷表ID")
    private Long userQuestionnaireId;

    @ApiModelProperty("用户问题表ID")
    private Long userProblemId;

    @ApiModelProperty("问卷表ID")
    private Long questionnaireId;

    @ApiModelProperty("问题表ID")
    private Long problemId;

    @ApiModelProperty("答案表ID")
    private Long answerId;

    @ApiModelProperty("用户ID")
    private Long userId;

    @NotBlank
    @ApiModelProperty("答案")
    private String answer;

    @ApiModelProperty("是否选择此答案")
    private Integer select;

    @ApiModelProperty("分值")
    private String points;

}
